package com.yjd.user.service;

import com.yjd.user.entity.User;

/**
 * 用户登陆服务
 * Created by yangchangyan@yijiedai.com on 2018-12-25 14:30.
 */
public interface ILoginService {

  /**
   * 登陆
   * @param username
   * @param password
   * @throws Exception
   */
  User login(String username, String password) throws Exception;

}
